package com.parkreport.report.action;

import javax.xml.rpc.ServiceException;

import com.common.report.vo.ReportTableViewVO;
import com.parkreport.base.BaseAction;
import com.parkreport.report.service.TicketDetailReportService;

public class TicketDetailAction extends BaseAction {

	private TicketDetailReportService service = new TicketDetailReportService();
	private ReportTableViewVO tableVO = new ReportTableViewVO();
	private String searchTitles;
	private String searchMents;
	private String startDate;
	private String endDate;

	public String ticketCount(){
		try {
			tableVO = service.getTableViewVO(this.getRequest());
			tableVO.setMentName("来源区域");
			tableVO.setReportName("游客购票分析");
			this.getSession().setAttribute("tableVO", tableVO);
		} catch (ServiceException e) {
			log.error(e.getMessage(),e);
		}
		
		return topager("/pages/report/ticket/detail_list.jsp");

	}
	
	public ReportTableViewVO getTableVO() {
		return tableVO;
	}
	public void setTableVO(ReportTableViewVO tableVO) {
		this.tableVO = tableVO;
	}
	public String getEndDate() {
		return endDate;
	}
	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
	public String getSearchMents() {
		return searchMents;
	}
	public void setSearchMents(String searchMents) {
		this.searchMents = searchMents;
	}
	public String getSearchTitles() {
		return searchTitles;
	}
	public void setSearchTitles(String searchTitles) {
		this.searchTitles = searchTitles;
	}
	public String getStartDate() {
		return startDate;
	}
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
}

